package com.hxzy.framework.common.req;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @Author wy
 * @Description 登录模型
 * @Date 2024/1/26 16:20
 * @Version 1.0
 */
@Getter
@Setter
@NoArgsConstructor
@ToString
@ApiModel(description = "登录模型")
public class LoginReq {

    @NotBlank(message = "账户不能为空")
    @ApiModelProperty(value  ="账户")
    private String account;

    @NotBlank(message = "密码不能为空")
   @ApiModelProperty(value ="密码")
    private String password;

    @NotBlank(message = "验证码不能为空")
   @ApiModelProperty(value ="验证码")
    private String captchaCode;

    @NotBlank(message = "验证流水不能为空")
   @ApiModelProperty(value ="验证流水")
    private String captchaNo;

}
